package cn.zebra.dev.admin.module.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
public class AdminUpdatePasswordVO {

    @ApiModelProperty("旧密码")
    @NotBlank(message = "旧密码不能为空!")
    private String oldPassword;

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码不能为空!")
    private String newPassword;
}
